#ifndef __EEPROM_H__
#define __EEPROM_H__

#define EE_DATA 0x00
#define EE_CODE 0x01

void eeprom_write(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len, unsigned char *data);
void eeprom_read(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len, unsigned char *data);
void eeprom_erase(unsigned char eetype, unsigned char u, unsigned char h, unsigned char l, unsigned char len);

#endif
